/**
 * @ClassName Student
 * @Author 小坏
 * @Date 2021/12/29、15:49
 * @Version 1.0
 */
public class Student {

    private String name;
    private Integer age;
    private static String school = "atguigu";


    public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public Student() {

    }


    public void printInfo() {
        System.out.println(this.name + " " + this.age + " " + Student.school);
    }


    @Override
    public String toString() {
        return "{}";
    }

    public static void main(String[] args) {
        Student student = new Student();
        System.out.println(student);
    }


}
